# coding: utf-8
# Project：PyCharmMiscProject
# File：类和对象作业.py
# Author：liuchuanzhi
# Date ：2025/4/9 19:58
# IDE：PyCharm
class phone:
    def __init__(self, language='英文'):
        self.language = language

    def show_language(self):
        print(f"智能手机的默认语言为{self.language}")


phone1 = phone()
phone1.show_language()
ph = str(input("将智能手机的默认语言修改为"))
phone2 = phone(ph)
phone2.show_language()

